home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cocktail / front.lha / front / src / ErrorTab < prev    next >
Text File  |  1992-08-18  |  6KB  |  214 lines

  1. % $Id: ErrorTab,v 2.2 1992/08/07 15:15:11 grosch rel $
  2. %
  3. % $Log: ErrorTab,v $
  4. % Revision 2.2  1992/08/07  15:15:11  grosch
  5. % allow several scanner and parsers; extend module Errors
  6. %
  7. % Revision 2.1  1991/11/21  14:51:16  grosch
  8. % new version of RCS on SPARC
  9. %
  10. % Revision 2.0  91/03/08  18:27:09  grosch
  11. % turned tables into initialized arrays (in C)
  12. % moved mapping tokens -> strings from Errors to Parser
  13. % changed interface for source position
  14. % Revision 1.5  90/06/26  13:00:39  grosch
  15. % improved error message 109 = bad file number
  16. % Revision 1.4  89/01/26  19:01:04  vielsack
  17. % changed error messages for LL(1) conflicts
  18. % Revision 1.3  89/01/23  15:51:13  vielsack
  19. % new error messages are needed to describe the handling of LL(1)-conflicts
  20. % Revision 1.2  89/01/13  17:15:48  vielsack
  21. % new error message: LL(1) conflict ignored
  22. % Revision 1.1  88/12/08  13:50:11  vielsack
  23. % corrected spelling error
  24. % Revision 1.0  88/10/04  14:26:41  vielsack
  25. % Initial revision
  26. %
  27. %%%    Error Class Text
  28. %
  29. 1    Fatal                       eFatal
  30. 2    Restriction                 eRestriction
  31. 3    Error                       eError
  32. 4    Warning                     eWarning
  33. 5    Repair                      eRepair
  34. 6    Note                        eNote
  35. 7    Information                 eInformation
  36. %
  37. $
  38. %%%    Error Code Text -------------------------------------------------
  39. %
  40. %%%    Parser
  41. %
  42. 1    syntax error                eSyntaxError        (s
  43. 2    expected tokens:            eExpectedSymbols    (s
  44. 3    restart    point                eRestartPoint        (s
  45. 4    token inserted :            eSymbolInserted        (s
  46. 5    parse table mismatch            eWrongParseTable    (s
  47. 6    cannot open parse table            eOpenParseTable        (s
  48. 7    cannot read parse table            eReadParseTable        (s
  49. 9    number is out of range            eNumToBig        (s
  50. %
  51. %
  52. %%%    Scanner
  53. %
  54. 10    character ignored            eCharIgnored        (s
  55. 11    string exceeds line            eEolString        (s
  56. 12    unclosed action                eUnClAction        (s
  57. 13    unclosed comment            eUnClComment        (s
  58. 14    unclosed string                eUnClString        (s
  59. %
  60. %
  61. %%%    interne Fehler
  62. %
  63. 15    internal error                eInternal        (els
  64. %
  65. %
  66. %%%    ArgCheck
  67. %
  68. 20    unknown option                eNoOption        (bel
  69. 21    too many arguments            eToManyArgs        (bel
  70. %
  71. %%%    Restrictions
  72. %
  73. 25    illegal internal code                eNoIntCode    (s
  74. 26    token table overflow                eTokenOverflow    (es
  75. %
  76. %%%    Tokens
  77. %
  78. 30    token declared twice                eTokenDeclTwice    (s
  79. 31    code used twice - ignored            eCodeExists    (s
  80. 32    token not declared                eTokenNotDecl    (s
  81. %
  82. %%%    Oper
  83. %
  84. 35    operator already declared - ignored        eTokenInPrio    (s
  85. %
  86. %%%    Rules
  87. %
  88. 40    terminal expected                 eNoTerm        (s
  89. 41    operator expected                eNoOperator    (s
  90. 42    nonterminal expected                eTermLeft    (s
  91. %
  92. %%%     ell and lalr
  93. %
  94. 45    does not produce any sentence            eNotTerm    (el
  95. 46    not defined by a rule                eNoProd        (el
  96. 47    not reachable                    eNotReach    (el
  97. %
  98. 48    colliding symbols                eBadSymbols    (el
  99. %
  100. %%%    ell
  101. %
  102. 50    OPER part will be ignored (only for LALR)    eNoOper        (e
  103. 51    grammar is not LL(1) - stopped            eLL1Abort    (e
  104. 53    left recursion detected                eNotLL1rek    (e
  105. %
  106. 80    not LL(1) - never entered with            eUnrestricted    (e
  107. 81    not LL(1) - never entered            eEnter        (e
  108. 82    not LL(1) - never skipped            eByPass        (e
  109. 83    not LL(1) - never left                eLeave        (e
  110. 84    not LL(1) - never entered with            eEnterWith    (e
  111. 85    not LL(1) - never skipped with            eByPassWith    (e
  112. 86    not LL(1) - never left with            eLeaveWith    (e
  113. 87    not LL(1) - right part never entered        eEnterRight    (e
  114. 88    not LL(1) - right part never entered with    eEnterRightWith    (e
  115. 89    not LL(1) - left part never entered        eEnterLeft    (e
  116. 90    not LL(1) - left part never entered with    eEnterLeftWith    (e
  117. %
  118. %%%    lalr
  119. %
  120. 60    EBNF operator not allowed            eNoBNF        (l
  121. 61    action in a rule - new nonterminal generated    eActInside    (l
  122. 62    orginal grammar is not LR(k) for any k        eNotLRk        (l
  123. 63    state is inconsistent - state             eInconState    (l
  124. 64    grammar is not LALR(1)                eConflict    (l
  125. %       
  126. %    Check
  127. %
  128. 70    state is not LALR(1) - state            eState        (l
  129. 71    read reduce conflict on                eReadRed    (l
  130. 72    reduce reduce conflict on            eRedRed        (l
  131. 73    read reduce reduce conflict on            eReadRedRed    (l
  132. 74    repaired read reduce conflict on        eRepReadRed    (l
  133. 75    repaired reduce reduce conflict on        eRepRedRed    (l
  134. 76    repaired read reduce reduce conflict on        eRepReadRedRed    (l
  135. 77    automatically repaired read reduce conflict on 
  136. 78    automatically repaired reduce reduce conflict on 
  137. 79    automatically repaired read reduce reduce conflict on 
  138. %
  139. %%%    System Errors
  140. %    -------------
  141. %
  142. 101    not super-user
  143. 102    no such file or directory
  144. 103    no such process
  145. 104    interrupted system call
  146. 105    I/O error
  147. 106    no such device or address
  148. 107    arg list too long
  149. 108    exec format error
  150. 109    bad file number - file not found
  151. 110    no children
  152. 111    no more processes
  153. 112    not enough core
  154. 113    permission denied
  155. 114    bad address
  156. 115    block device required
  157. 116    mount device busy
  158. 117    file exists
  159. 118    cross-device link
  160. 119    no such device
  161. 120    not a directory
  162. 121    is a directory
  163. 122    invalid argument
  164. 123    file table overflow
  165. 124    too many open files
  166. 125    not a typewriter
  167. 126    text file busy
  168. 127    file too large
  169. 128    no space left on device
  170. 129    illegal seek
  171. 130    read only file system
  172. 131    too many links
  173. 132    broken pipe
  174. 133    math arg out of domain of func
  175. 134    math result not representable
  176. 135    no message of desired type
  177. 136    identifier removed
  178. 137    channel number out of range
  179. 138    level 2 not synchronized
  180. 139    level 3 halted
  181. 140    level 3 reset
  182. 141    link number out of range
  183. 142    protocol driver not attached
  184. 143    no CSI structure available
  185. 144    level 2 halted
  186. 145    out of swap space
  187. 146    path continues onto another machine
  188. 147    unison request for a retry
  189. 148    record locking deadlock
  190. 149    could not resolve IP addr, host down
  191. 150    no available gateway in route table
  192. 151    symbolic links form endless loop
  193. %
  194. $
  195. %%%    Error Count Text ------------------------------------------------
  196. %
  197. 1    fatal Error(s)
  198. 2    restriction(s)
  199. 3    error(s)
  200. 4    warning(s)
  201. 5    repair(s)
  202. 6    note(s)
  203. 7    information(s)
  204. %
  205. $
  206. %%%    -----------------------------------------------------------------
  207.